<?php

/*
 * 商品详情模型
 * @author sky
 * create_time 2017-05-01
 */

namespace App\Front\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Str;
use Intervention\Image\Constraint;
use Intervention\Image\Facades\Image;
use Illuminate\Support\Facades\Storage;


class Detail extends Model {
protected $table = 'mini_goods';
    // 商品列表
    public static function detail($classid){
    	return Detail::where(['id' => $classid])->get();
    }
}
